<ion-view view-title="修改手机号" cache-view="false">
  <ion-content class="my-bg">
    <form>
      <ion-list>

        <!-- 手机号码 -->
        <ion-item class="item-input-inset">
          <span class="input-label">新手机号</span>
          <input type="tel" placeholder="请输入新手机号" ng-model="user.newMobile">
        </ion-item>

        <!-- 验证码 -->
        <ion-item class="item-input-inset">
          <span class="input-label">验证码</span>
          <input type="text" placeholder="请输入验证码" ng-model="user.token">
          <button style="position: absolute;right: 25px;top: 12px;" class="button button-positive button-small" ng-click="getToken()">获取验证码</button>
        </ion-item>
      </ion-list>

      <br />

      <!-- 提交 -->
      <ion-item class="button-bar">
        <button class="button button-positive button-full button-clear" style="margin: -15px auto;" ng-click="resetandgoback()">完成</button>
      </ion-item>
    </form>
  </ion-content>
</ion-view>
